#!/bin/bash
echo "===== System Resource Usage ====="
echo "CPU Usage: $(top -bn1 | grep "Cpu(s)" | awk '{print $2 + $4}')%"
echo "Memory Usage: $(free -m | awk '/Mem/{printf "%.2f%%", $3/$2*100}')"
echo "Disk Usage: $(df -h / | awk '/\//{print $5}')"
